package com.free.semantic.common;

public interface BaseNode {

    String getNodeName();

    Range getRange();

    default RangeObj getNode() {
        RangeObj rangeObj = new RangeObj();
        rangeObj.setRange(getRange());
        rangeObj.setObjectName(getNodeName());
        return rangeObj;
    }

}
